<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p,h3{
            color:red;
            font-size: 30px;
        }
        .text,.title{
            color:green;
            font-size:40px;
        }
    </style>
</head>
<body>
    <p>其实段落</p>
    <h3>我是标题3</h3>
    <p class="text">我是小配角p</p>
    <h3 class="title">我是反派h3</h3>

</body>
</html>